﻿
@{
    ViewData["Title"] = "ShowMsg";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

@section Scripts {
    <script type="text/javascript">
        //关闭弹出层
        hg.close();
        hg.msg('@ViewBag.Msg');
        @if(ViewBag.Data == "")
        {
            //刷新列表
           @: parent.table && parent.table.reload();
        }
        else
        {
            //本地修改
           @: parent.table && parent.table.update('@Html.Raw(ViewBag.Data)');
        }
    </script>
}


